made sensor configuration save and load properly from/to 2d model