last attempt to set cursor to each type of element