make private dependencies globals before file