rm fix errors