resolved bug of startmanagingcursor

I've removed the line with this functin because it's deprecated