fixed location history to work with 'at' URL route