fixed friendly URL mapper bug.