fixed connection and modified loglevels