cs corrections, bool to boolean and int to integer.