fix for recent pupa