Fixed renderType