fixed last diplay if