Fix prefix error with java