fix memleaks
week raport #1