fixed Java interface