refactor dashboard widget value loading. #370