Fixed #160. Removed invalid lines of code.