fixed problem with writing messages on BGQ