removed trailing slashes on prefix specification