fixed Session regex bug