fix declaration node priority