correct some error

correct some errors that doesn't fit the functional language grammer.