fixed bug with RedServ debug callback.