Don't allows an end slash

fix #200