python back to blocks not working