Fixed DashBoard null pointer exception