fix dirty not clear