removed pointers from queue

Change-Id: I94a1b05be91675d0e4233eac477d45e5ef77ed23