validation helper and backend validation modified