have bug fix itself
remove unnecessary variable
add debug message for bug