minor fixes

Signed-off-by: sidschingis <sijing@gmx.net>