fix bug in locked challenge logic.