[fix] update minimize - fix #5