fix bug with remove decoration layout after search