fixed safari/chrome db charts bug