Revert "Fixing warning"

This reverts commit 50b7129769a3071f4e5f497898042fe25c5bc431.