got rid of trailing slashes