Remove useless var type