setLocation fixes