fixed to convert image width, height to Number type