fix type conversion rule (pointer)