fixed typos

fucntion -> function