Fix pocket load state code.