Fix select type