fixed issue with non-exported proto