update a copyright and fix the define order.