[fix] minor bugs