modify dependencies order