fix in admin scripts