Mistakes fixing for diplom project