Fixes rendering type