simplify macro reference constructor
simplify record reference constructor