Fix clean check