fix undef var
update copyright time