fixing whitespace
make sure were not dealing with undefineds