support for old versions of whenever