Revert "switching back to original typestring"

This reverts commit 38752dcf553228cb92b0683d878a8ed3b74906ad.