clear context to fix redrawing bug
fix conflict