fixing language prototype defects