xrange bug in Commander initialization