fixed deleteGroup