[fix] memory issue