fix requires and usedBy