Second DB excaption fixed