We affirm the court’s judgments and sentences, but we remand the ease so that the trial court may set aside the orders assessing costs against appellant. Since the court had adjudged appellant to- be insolvent, it was not authorized to assess costs against him. Section 939.15, Florida Statutes (1977); Cox v. State, 334 So.2d 568 (Fla.1976).
GRIMES, C. J., and HOBSON and DAN-AHY, JJ., concur.