revert back to cast