Fix bug reading queue from config
Fix another bug reading queue from config