fixed db layer export bugs
New connections get last model