remove CAST which fails with postgres
remove validation