fixed ifs
fixed delete multi items
removed _s_cursor_r