fixed problems with debug numeric handling