add check on parent instead of current category on category not mapped catch