fix to use http request method for grouping