fix bug allowing subscribers to attempt more than allowed