report class not found instead of fatal error