fixed quiz creation client code