filter empty href case