changed logdata, removed some prints, fixed level1 error