some patches

Hi 
AS SAD
форматирование кода