remove unnecessary casts in dartling actions