fix create device configured with no line