fixed java calls