fix bug with loadqueue endpoint