sha1CurrentPattern changes to 40 instead of range [5,40]