remove java vars