Fix the properties reading bug