remove doCast