Fix #427
Fixed migration