Patch 1

Fix deprecated