fix location param