City faces possible loss of state aid