remove debuggers and fix value setting for fields