fix design errors

Signed-off-by: Mihail-M <Mihail-maryfich@yandex.ru>