Fix double queue issue.