remove formatting that was causing math errors