fixing content type issue