Cleaning up images controller