fix a small bug
fix when use without openstack