fix slice string compare panic at gsetting_property