remove unused variables
remove self assign
remove unused variable