fixed #11, a following up patch to fix the content type