fix the flot chart now as well