add content_type to shell and minor fix on fetch