Avaoid last slash