Removed double slash problem; fixes #6