Fixed line formatting on grade