fix reading shifts