Fix cat bug by converting packageVersion with toString