This seems to be working fine.

Refer to this in katanacode/blogit#35