fixed display solution function