fix 'this' bug