Fix for older version of six