null pointer condition added for fast.next