remove slash at the beginning of a state