fixing jar references etc