fix deprecated variable_access