clean http side a bit