change parse_trans to HEAD