Minor fixes

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>