Fixes issues #333 and problems with converting str to int via prettyName func