fix bug and change id attribute for Progress db