remove the really unused flags from amo
fix bad migration number