adding smooth exit if histogram that doesn't exist is asked for