leave the method if categories.xml is not correct