Improve tracing and gloss interaction