fixing simple bug in assign floating ip script