Removed some useless stuff and fixed a small typo.