queue get vs queue put, where's the error?