validate level