fixed dodgy model validation