fixed value destructor, reference variables should not be unreferenced