fix typescript version, going to 0.9.5 breaks some changes in the code