fix the bug of injectViews
Merge pull request #3 from frankswu/master

fix the bug of injectViews