fix bugs in monitor side during migration