fixing formatting errors