removed warnings

removed some unused variables or made them anonymous