fix the location() function