Update copyright year
Fix some variables initialization