handle an error when express version changed