fix imports and edit site stats page