fixed php notices about undefined multisite variable