reverted =begin code because it casued html generation error