bug fix
add copyright