debug
quality tweaks