fixing eclipse errors/warnings