adjust content length