bugfix for original serving
fix resize bug for 0x0 images