Fix double-slash bug