fixed typo and removed commented code