[PATCH] Don't overwrite magic in trace