Minor updates and fixes

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>