yr: fix bug with default location