Fix some warning on uninitialized value on dashboard. Thanks to Julien Rouhaud for the report.