fix problem on the 3.9