Fixed connection, credits to @zakx