image connection bug fix