fixed bug raising error while access to race thru to_hash method; fixed bug getting avatar styles