remove redundant trace and add some build parameters