[fix] fixes most of the anoying compilation warning