fixing property code