update copyright information
make compound define safer