Fixed error with add queue