fieldname bug fixed
unitests changed