fix fail syntax in admin.js