fix for java interface problem