style fix and database snapshot