Eclipse errors fixed