Remove the duplicate / in the rewrite