fixed migration inconsistencies