version 0.5.31 fixes