fixing stdapi compile error