City under fire for ending contract