fixed attributes problem