fix some code formatting errors
version 0.3