move some constants, fix overlong ding