Clearing bug fix.