fix issues of bb* data transfer tools

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>