call removeProperty properly