bugfixes in sorry module