CORRECTED OPINION
PER CURIAM.Upon the State’s proper confession of error, the petition for writ of habeas corpus is granted. As per petitioner’s prayer for relief, petitioner will be released from secure detention and be placed on home detention with an electronic monitor.
The granting of the petition is without prejudice to the trial court to revisit the issue of custody after fully complying with the requirements of section 985.215, Florida Statutes (2001).
Writ Granted.