some quick render optimizations