changed flag f.conn to err
changed flag f.conn to err