fixed posts bug