fix samsung's reszie_image