fixed bug in new, fixed some minor typos
fixed more typos