added missing validation