added random
fixed getqueue message length limit