cleaning up formatting errors