Revise issue with using $ operator for atomic vector
Correct object name and function arguments