fix bug in regex of activity url