fix rendering types