implemented a fix for auto_resize