fix database empty erros on new redelivre site