Revert "Fixed warnings"

This reverts commit 3b61012f3719331146bda79ec78ab830588ea42e.