added check for degenerate string before passing to slash
improved readme