cleanup for migrations