fixed the hint box by updating the selector