fixed broken floating ip validation logic