resolved eclipse warnings