Fixed bug in  the is_up()