fixed copyright information and code length