fix conditionally undefined variable
cleanup spaces
0.3