fix usage of annotation to trace response code