connect user cancel button bug fix