Trim extra slash.