WF: removed unused variables
OM: initialized uninitialized variable to get rid of a warning