adding registry section, fixing width bug