rm redundant cast