upgrade to ts 0.9.1.1 fix code for new version