remove unused local variable
code style etc...