fix for test page db error