fixed attr problem