fixed: encoding issue in type selector