fixed qn processing error

adding new graph traversal qn