[gcr] type conversion