fixed platform ccast issue