edit type to all_type