small fixes
drop unused var