If data is not set warning is thrown