added links
fixed permanent connection problem