when there is an after body using the pathname, the pathname can but need not be used in the before body.