bugfix in sending modify messages