yet another attempt at fixing perfectus (no idea why its so borked?)