improve overlay output