fixed lots of eclipse warnings