fix router by using content-length