fix order migration