[fix] [minor] fixes in patch