resolved some eclipse warnings