redirect folders to trailing slash url
add map method