fixed add queue bug from rebase