fixed depreciated methods and properties