fixed bug in code determining possible ep captures