remove append slash