Fixed spacing in some if statments