fixed some issues on typescript and compiling