Fix $ operator for tracked_environment