test change location to constant value