fix megawatcher bug