fix active dot bug