Fixed wrong java reference