fixing for jar builds