l flag coded, not printing error