bug fix : move resource connection