add warning about removing trailing slash too early