fix foolish issue with case migration script