fix bug on application db settings