Fixed bug which affects sensor's configuration