eclipse errors fixed