fixing stupid mistakes with readsensor