improved debugging on classes not found