fixed before/after math