maintain backward compatibility for .hash