avoid referring from local types