Fixed type select bug