Minor fixes

Signed-off-by: Renato Carvalho <renatolz@gmail.com>