removed some warnings because of a deprecated library