fix issue with image uploader scale method