fix rendering system