fixed rendering mistake

1. Fixed rendering mistake.
2. return the result directly
Merge pull request #55 from kracekumar/patch-2

fixed rendering mistake