Minor mistakes solved