small validation change