Small bug fix in execute shift