corrected bug with localhost selection inside tornado