fix bug while saving image