fix problem with change location