fix more minor bugs, fix load datasources in dashboard