fix type with cs