fix err proton