fix content-type of server output