fix stupid trailing slash thing