Prevent bad connection data