fixes edit in list directive