Fixed ticket service to return correct content lenght