Fix category edit