error rotation notebook not working