Couple of stupid bugs

Signed-off-by: emanuele <emanuele45@gmail.com>