Fix ImportError while import the render method