fix deprecated method usage
1 file changed