fix deploy db