fix for found bug in public link once class deleted see #23