small fixes + CompareCharArrays added