New line fix does not function properly