Removed debug code. Fixed code style.

Signed-off-by: SeynovAM <sejnovalexey@gmail.com>