set default value for proto and delete for normal proto