make type of x=y by Y instead of X for #438