Change size and fix save as for scalar