fixes the problem of null sequence... your right about the test I was a little lazy...