defend against no input