strange behaviour (setLocation)