fixed minor bugs in bulk messaging #333