improved error handling for concepts hierarchy