Fixed admin boxes code which was causing an error.

More...