fix for proto