Two fixes in tight binding part