Better end rewrite structure with a '/'

Better end rewrite structure with a '/'