Fixed connection mask issue.