on a callback function.. 'this' means other scope .. fixed
code clean up and test refactory