protect against no input