Fix check connection in aliases management