Type setter fix