changed categories and tags url, and added default value