fixed error where autoshift would only update twice a second