update to 0.46 and fix a minor problem