Add check dynamic cast