removed db exists check