Fix hairlines code