handeled ana exption with main where thier is no posts #187