Beautfy code. Fix typos