bug fix - content type for resources shoudl be text/plain