handle attribute codes: 2/22/25/7/27