Change type var of id