indent error in moving code