fix render to use getters