updated version to 0.4 and fixed some typos