support for older version of pm2