bug between params in migrate and class data