fix bad call in floating device