Correct wrong var
Add database:delayed for INSERT DELAYED
Finally fixed the resizer on debug