fixed failing app when there`s no db credentials.