fixed errors from --noImplicitAny option