rm sem not working