fixing tabulations