unused variables
fixes to build properly after last changes