corrected typo

line 25 changed 'before' to 'after'