Fixed typos, portability++