Fix misuse of restrip