fix content length