safeguard on input lines