found error in which workoutQueue is used, removed the other one from snapshot and it is almost working now