fixed connhandeler