Fixes in the SH's codes