application db fix