fix proto bug