fix for undefined variable for nameless sites