dismisses the petition