added stream id type and checking in evaluate