fixed migrations on production, fixed scan paste error