get rid of unnecessary formatting errors