I was loading thesis ids instead of uni ids
deleted the str(thesis[0])
added regeration for descriptor cache