depreciation warning removed

this commit removes depreciation warning pointed in issue https://github.com/GreatDevelopers/LibreHatti/issues/164