Fix %contenttype% issue