render method move to module
fix renderer