fix: animation showed error even if connection was valid