added jxr + fixed warnings