CLOUDIFY-1471 fixed references to deprecated method