typo and zeros for resize