Fixed some errors in Eclipse