Fixed error of external connection