Fixed issues #3

Signed-off-by: Laex <laex@bk.ru>