[feature] fix compiler warning