fixed thisArg issue