change rm for windows compatibility