fixed an assignement and a spelling error