[fix] unused globals removed