store entities.
Fix profile sha1 generation.