Fixed bugs in ComProperties and read from hash.