fix type selections;