fixed trailing slashes #12