bugfix and added sensor/totalstation to register