fix javax errors