fix fetch_posts command
better filter