changed names of two internal codes

fixed some typos