gint index, maybe index -xxxx, cause crash