add error if everything is left empty