typos and spaces

based on @beloglazov comments