Typo in edit_supplements function fixed