fix crash when upgraded from 0.7.9