Brown sugar should be packed; flour must not be — you’ll get substantially more mass per volume than the recipes assume.