added native resizer for less loss