fixed delete medicine and medicine_history