-list queue bug fix

- add empty check macro