fix some crashes. bump version to 2.4.7.