clear bug fix