fix remove rule