levels: fixed #17 by adding error msg

Not super pretty but clearer to users.