clearing some warnings in eclipse