add delete and cursor style