fix save error that came from handling of category links