match static path first