removed trailing slashes from routes