fixed bug with item deliting
undo added
work with clients