C_POINTER added selector to clear value or not in getVariable