make sure partial has data before register