fixed typo
removed un-needed code