fix some bug in previous posts