ERROR 9401: Missing or invalid resizing parameters: width is not a number