fix bugs for monitan