[fix] var to struct