fix undefined locationlog in MAB floating devices