Removing duplicate qs