Removing local reference