setting valid to false by default, getting rid of a notice