Adds missing endlines