fixed double-render