Fixing images upload