get rid of debug error during type resolution failure as it happened a lot for no reason