fixes for ts 1.0