fixed content type bug with mimetype setter