Fix missing self cause NULL object

It causes NULL object if we are in admin mode