Fix get_properties method