Fixed Initial DB Connection error issue