corrected empty li bug