code formatting
added option to reset an "empty" image