[fix] restart, use scala as a reference