fix backend validation