minor bugfix release for saving image