Default [Q] please help locked my phone into load screen

hi ive got an htc m7 running on hboot 1.56.000
radio 4a.25.3263.21

hi i unlocked my phone using htc dev, and used twrp to root it but when checked to see if my phone was correctly rooted through the su app it said phone wasnt rooted properly then i realised i had not done it withthe debugging ticked so i went into recovery and deleted su thinking i could just redo the procedure with the debugging mode ticked but when i rebooted after deleting su its got stuck on the white htc screen i can get into to twrp recovery and su is gone and when i go to reboot screen it says no os are you sure you want to reboot? ive searched everywhere for help you are my last hope?