remove header and server url correction