The trailing slash should be removed here as well.