bug fixes and reduced size of SIGmodel file