Fixed some eclipse compiler errors