remove unnecessary protos