Prevent many trailing slashes at the end fix #7