simplify msgqueue