fix regexp
implement uri signing