Clean up formatting errors