Fixed compatibility with Shen 13.