add fix for undefined PHP error when calling defaults in taxonomies