dbproxy fix bug