bug fix failing to get challenges