fixing a type error bug with rbhusDrone . error while running it for the first time on a virgin system