applying fix for depricated warnings