Fix the bug that unable to read metadata from the property file.