add snapshot and fix admin page issue