fix for location params