clear up formatting issues