gem attributes problem