a little mroe fixes

Signed-off-by: Fotis Georgatos <fotis@cern.ch>