allow custom taxonomies

and fixed a warning