SUAREZ, J.
We treat Roger Gonzalez’s appeal as an appeal of the trial court’s denial of his petition for writ of habeas corpus. We affirm the trial court. Fla. R.Crim. P. 3.140(k)(5). See Bridges v. State, 376 So.2d 233 (Fla.1979) (a guilty plea waives all non-jurisdictional defects);