fix error with renderer compiling