Bug in down and up hosts

Always returns host not found, because string compared with number and always returns nil