done the changes as clearproperties is no more supported.