Change var type