fixed bug with conn and load views