fix private var in post_model