fix a bug when using default location string. fix a bug generating from template node-more.html that contents are always the same due to misuse of closure.