fix bug in PostViewModel conversion