fix freedom dependency