fixed onweb assignment  bug