conditions of detention violated