minor work to orphaned tables util
fix issue in upload crs page, allow to be declared
remove print stmt