fix variable\'s type