fix tslint warnings