changing error with contenttype
new version