fixed typescript code, added make