fixed idiotic bug from when i was merging modular renderer