correct white space in request