Fixing content-type verification