queue: don't push undefined