further fixes to queue creation