minor update to validation