fix attr directive
0.21.4