fixed image bug with peak