update file

Before the change, the local variable 'admin' was defined in the if loop, therefor it wouldn't have been definied outside the loop.
I have just definied the local variable 'admin' outside the if loop.