Bug fix for dbForm