fixing typos in the core documentation

while reading your docs, i found two typos.