Fixed depricated function
1 file changed