reduce warnings from eclipse