Fix resizer directive