prevent per scope from crashing on invalid (user) input