reset cat_id to 0 if url changes, closes #4