correcting formatting errors