remove typecast for gchar