fixed some connections