bug fix: eternal url loop