correct shift mistakes