fix loading admin script