fix for change in PyPY