fixed typos and ussage of reserved keyword