found the trail to fix uploading bug. the problem is within minimagick ...

...implimentation