What are the potential challenges with treating mental illness in the corrections setting

What are the potential challenges with treating mental illness in the corrections setting? How would you overcome these challenges?