[fix] var declarations