fixing white space code err