Fixed all warnings in eclipse