Fix pharmacy bug