fix migration var