remove opsolate '=' by test of 'dyn' and 'loc'