New line EOF fix