catch for when get_post returns false