WSOTWO-91: fixed the problem with adding new elements