some fixes to run on 0.8

Signed-off-by: Dario More Escamez <dariomore@yahoo.com>