fix exception throwing not found exception