Fixs

Fixed some typos, and removed test code