We agree with appellant that the trial court erred in imposing court costs and attorney fees without notice or the opportunity to be heard. Jenkins v. State, 444 So.2d 947 (Fla.1984). Accordingly, we strike the cost provision without prejudice to the state to seek reassessment after proper notice to appellant. The judgments *198and sentences are affirmed in all other respects.
RYDER, A.C.J., and FRANK and ALTENBERND, JJ., concur.