This should fix issue #358

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