fix db and cpu