fixed http regex issue