fixed validation problem with views