remove redundant code from commands/urban.py