fix:resize number is int