fixed a small bug where static url routes could cause a notice