removed cursor, not sure what makes a problem?