fixed cursor and CA issues