upgrade to typescript 0.9.1
fix issues