The authors previously reported that in children with sevoflurane anesthesia , intravenous administration of midazolam ( 0.05 mg/kg ) before the end of surgery reduced the incidence of emergence agitation but prolonged the emergence time .