add attr name in environment