debug of location