fix project_map == null in case of url rewriting