fixed dual message bug