fix switch error in  postproc