Fix the insertion of the prisoners.