fixed management command migrate_posts