Revert "Fixed some warnings"

This reverts commit 14bcfe3b822e4172b6b78a4efc449a666451554b.