Duplicate messages problem now fixed