fixed small typo in static_cast