fix deprecated code in cloud9-contrib