fixed geometry and shaders bugs