error handling for non-existing subcat