add a matching pattern for those lame refferal parameters