fixing some formatting rules